const http = require('http');
const server = http.createServer((req, res) => {
    if (req.url == '/favicon.ico') return;
    res.writeHead(200, { 'content-type': "text/html;charset=utf-8" });
    if (req.url == '/aa') {
        res.end('123')
    }

});
server.listen(80, 'localhost', r => { console.log('服务器：localhost 端口 80'); })

